<template>
  <div class="lock-view">
    <div class="left">
      <el-image :src="lockDeviceUrk"></el-image>
    </div>
    <div class="right">
      <div class="text">客户端锁定中</div>
      <el-input v-model="password" placeholder="请输入密码解锁"></el-input>
      <div class="btnBox">
        <el-button @click="login">重新登录</el-button>
        <div class="unlock" @click="unlock">解锁</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      lockDeviceUrk: require('../../assets/images/lockDevice.png'),
      password: ''
    }
  },
  methods: {
    login() {
      this.$router.push('Login')
    },
    unlock() {}
  }
}
</script>

<style lang="less" scoped>
  .lock-view{
    display: flex;
    padding: 134px 0 0 62px;
    .left{
      width: 400px;
      height: 243px;
      margin-right: 64px;
      .el-image{
        width: 100%;
        height: 100%;
      }
    }
    .right{
      .text{
        font-size: 24px;
        color: #152640;
        font-weight: bold;
        margin: 16px 0 52px 0;
      }
      .el-input{
        width: 300px;
        height: 42px;
        margin-bottom: 32px;
      }
      .btnBox{
        display: flex;
        .el-button{
          width: 140px;
          height: 42px;
        }
        .unlock{
          width: 140px;
          height: 42px;
          background-color: #4452E5;
          box-shadow: 0px 6px 18px #727df4;
          display: flex;
          justify-content: center;
          align-items: center;
          color: #fff;
          font-size: 18px;
          border-radius: 6px;
          margin-left: 20px;
          cursor: pointer;
        }
        .unlock:hover{
          background: #6b8cfb !important;
          border-color: #6b8cfb !important;
        }
      }
    }
  }
</style>